<ng-container *ngIf="isShow">
  <div class="update_modal">
    <div class="update_main">
      <img src="assets/imgs/update_bg.png" class="w12">
      <ng-container *ngIf="!isDownload">
        <div class="w12">
          <div class="w12 update_text">
            <h3 class="w12">升级到新版本</h3>
            <p class="w12">{{ iRemotePackage.description }}</p>
            <span></span>
          </div>
          <div class="w12 update_btn">
            <button (click)="isShow=!isShow">取消</button>
            <button (click)="start()">立即更新</button>
          </div>
        </div>
      </ng-container>
      <ng-container *ngIf="isDownload">
        <div class="update_loading">
          <div class="line">
            <span [ngStyle]="{ 'width' : length }">{{ length }}</span>
          </div>
          <span class="w12 tc mt20 font_gray">版本正在努力更新中，请稍等</span>
        </div>
      </ng-container>
    </div>
  </div>
</ng-container>
